<?php
/* @var $this ProtectionOfVerticalOpeningController */
/* @var $model ProtectionOfVerticalOpening */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'protection-of-vertical-opening-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'properly_protected'); ?>
		<?php echo $form->textField($model,'properly_protected'); ?>
		<?php echo $form->error($model,'properly_protected'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'atrium'); ?>
		<?php echo $form->textField($model,'atrium'); ?>
		<?php echo $form->error($model,'atrium'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fire_door_good_condition'); ?>
		<?php echo $form->textField($model,'fire_door_good_condition'); ?>
		<?php echo $form->error($model,'fire_door_good_condition'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'elevator_opening_protected'); ?>
		<?php echo $form->textField($model,'elevator_opening_protected'); ?>
		<?php echo $form->error($model,'elevator_opening_protected'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'pipe_chase_opening_protected'); ?>
		<?php echo $form->textField($model,'pipe_chase_opening_protected'); ?>
		<?php echo $form->error($model,'pipe_chase_opening_protected'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'aircon_duct_system_with_damper'); ?>
		<?php echo $form->textField($model,'aircon_duct_system_with_damper'); ?>
		<?php echo $form->error($model,'aircon_duct_system_with_damper'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'dumb_waiter_opening_protected'); ?>
		<?php echo $form->textField($model,'dumb_waiter_opening_protected'); ?>
		<?php echo $form->error($model,'dumb_waiter_opening_protected'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'garbage_chute_opening_protected'); ?>
		<?php echo $form->textField($model,'garbage_chute_opening_protected'); ?>
		<?php echo $form->error($model,'garbage_chute_opening_protected'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'between_floor_and_glass_curtain_opening_protected'); ?>
		<?php echo $form->textField($model,'between_floor_and_glass_curtain_opening_protected'); ?>
		<?php echo $form->error($model,'between_floor_and_glass_curtain_opening_protected'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'date_last_tested'); ?>
		<?php echo $form->textField($model,'date_last_tested'); ?>
		<?php echo $form->error($model,'date_last_tested'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'inspection_id'); ?>
		<?php echo $form->textField($model,'inspection_id'); ?>
		<?php echo $form->error($model,'inspection_id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->